import Realtime from './realtime.vue'
import RealtimeAdd from './realtimeAdd.vue'
import RealtimeEdit from './realtimeEdit.vue'
import RealtimeSearch from './realtimeSearch.vue'
import RealtimeView from './realtimeView.vue'

const components = [
  Realtime,
  RealtimeAdd,
  RealtimeEdit,
  RealtimeSearch,
  RealtimeView
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}

export default main
